*
*	Convert applicant data from wide to long and keep ranks and priority scores
*

keep if eljaras == 1
keep id osszpont*
reshape long osszpont, i(id) j(rank)
keep if osszpont != .
rename osszpont priority_score
lab var priority_score "Priority score"
lab var rank "Rank"
lab var id "Applicant id"
keep id rank priority_score
